#ifndef HSYSTEMTRAYICON_H
#define HSYSTEMTRAYICON_H

#include <QSystemTrayIcon>
#include <QObject>
#include <QDateTime>
#include <QMenu>
#include <QWidgetAction>
#include <QHBoxLayout>
#include <QPushButton>
#include <QLabel>
#include <QIcon>
#include <QFile>
#include <QIODevice>
#include <QApplication>
#include <QDebug>

class HSystemTrayIcon : public QSystemTrayIcon
{
    Q_OBJECT
public:
    enum MenuItem { Monitor, About,  Exit };
    HSystemTrayIcon();
    void createTrayMenu();
signals:
    void onMenuItemClick(HSystemTrayIcon::MenuItem);
private slots:
    void onOpenMonitorClick();
    void onExitAppClick();
    void onAboutAppClick();
private:
     QString readTrayMenuStyleConfig();
};

#endif // HSYSTEMTRAYICON_H
